package rs.etf.kdp.client;

import java.io.Serializable;

/**
 * @author Djordje Vukovic
 * @version 1.0
 * @created 16-May-2011 4:59:09 PM
 */
public class Job implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -1469090605885927305L;
	private String identifier;
	private long logicTime;
	private Object typeOfSimulation;
	private Connections connections;
	private Components components;
	private long serverID;
	
	public long getServerID() {
		return serverID;
	}
	public void setServerID(long serverID) {
		this.serverID = serverID;
	}
	public Job()
	{
		
	}
	public Job(ClientContext context){
		identifier = context.getIdentifier();
		logicTime = context.getLogicTime();
		typeOfSimulation = context.getTypeOfSimulation();
		connections = context.getConnections();
		components = context.getComponents();
	}

	public String getIdentifier() {
		return identifier;
	}

	public void setIdentifier(String identifier) {
		this.identifier = identifier;
	}

	public long getLogicTime() {
		return logicTime;
	}

	public void setLogicTime(long logicTime) {
		this.logicTime = logicTime;
	}

	public Object getTypeOfSimulation() {
		return typeOfSimulation;
	}

	public void setTypeOfSimulation(Object typeOfSimulation) {
		this.typeOfSimulation = typeOfSimulation;
	}

	public Connections getConnections() {
		return connections;
	}

	public void setConnections(Connections connections) {
		this.connections = connections;
	}

	public Components getComponents() {
		return components;
	}

	public void setComponents(Components components) {
		this.components = components;
	}
	
	


}